//
//  ZallIndexView.h
//  SOKit
//
//  Created by soso on 15/5/20.
//  Copyright (c) 2015年 com.. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZallIndexView;

/**
 *  @brief  自定义SOIndexViewIndexingBlock，参数为SOIndexView和NSString的key
 *
 *  无返回值
 */
typedef void(^SOIndexViewIndexingBlock)(ZallIndexView *view, NSUInteger index, NSString *key);

@interface ZallIndexView : UIView

/**
 *  @brief  边框
 */
@property (assign, nonatomic, readwrite) UIEdgeInsets contentInsets;

/**
 *  @brief  文本颜色
 */
@property (nonatomic) UIColor *textColor;

/**
 *  @brief  文本字体
 */
@property (nonatomic) UIFont *font;

/**
 *  @brief  快速导航的标签，实质是主体
 */
@property (strong, nonatomic, readonly) UILabel *indexLabel;

/**
 *  @brief  关键字数组，成员为NSString的实例
 */
@property (copy, nonatomic, readwrite) NSArray <NSString *> *titles;

/**
 *  @brief  回调block
 */
@property (copy, nonatomic, readwrite) SOIndexViewIndexingBlock indexingBlock;

@end
